package edu.sctu.zhuyingzhi.month201505.day20150518;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by user13 on 2015/5/18.
 */
public class dayClient {
    public static void main(String[] args) {
        List list = new ArrayList();

        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        list.add(5);

        System.out.println(list);

        list.add(1,list.get(2));
        list.remove(1+2);
        System.out.println(" "+list);

    }

}
